﻿// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证（版本 2.0）进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动！任何基于本项目二次开发而产生的一切法律纠纷和责任，我们不承担任何责任！

using Admin.NET.Core;
using Admin.NET.Core;
using Admin.NET.Application.Entity;

namespace Admin.NET.Application.SeedData;

/// <summary>
/// 系统退货单表 表种子数据
/// </summary>

public class SysReturnOrderSeedData : ISqlSugarEntitySeedData<Sysreturnorder>
{
    /// <summary>
    /// 种子数据
    /// </summary>
    /// <returns></returns>
    public IEnumerable<Sysreturnorder> HasData()
    {
        return new List<Sysreturnorder> {
            new() { Id=1600000000101, Code=@"THDH6682", DocumentStatus=(int)DocumentStatusEnum.Draft, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3839", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000002, PurchaserId=1300000000112,  ReturnReason=@"产品质量问题", Remark=@"草稿状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 09:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000102, Code=@"THDH3572", DocumentStatus=(int)DocumentStatusEnum.Draft, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3840", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000002, PurchaserId=1300000000112, ReturnReason=@"规格不符", Remark=@"草稿状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 10:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000103, Code=@"THDH2928", DocumentStatus=(int)DocumentStatusEnum.PendingReview, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3841", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000003, PurchaserId=1300000000113,  ReturnReason=@"数量错误", Remark=@"待审核状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 11:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000104, Code=@"THDH4810", DocumentStatus=(int)DocumentStatusEnum.PendingReview, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3842", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000003, PurchaserId=1300000000113,  ReturnReason=@"包装破损", Remark=@"待审核状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 12:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000105, Code=@"THDH1966", DocumentStatus=(int)DocumentStatusEnum.PendingReview, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3843", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000004, PurchaserId=1300000000114,  ReturnReason=@"质量问题", Remark=@"待审核状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 13:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000106, Code=@"THDH1772", DocumentStatus=(int)DocumentStatusEnum.Rejected, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3844", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000004, PurchaserId=1300000000114,  ReturnReason=@"不符合要求", Remark=@"驳回状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 14:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000107, Code=@"THDH1803", DocumentStatus=(int)DocumentStatusEnum.Rejected, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3845", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000002, PurchaserId=1300000000115,  ReturnReason=@"颜色不符", Remark=@"驳回状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 15:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000108, Code=@"THDH058886", DocumentStatus=(int)DocumentStatusEnum.NotOutOfWarehouse, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3846", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000003, PurchaserId=1300000000112,  ReturnReason=@"过期产品", Remark=@"未出库状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 16:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000109, Code=@"THDH058887", DocumentStatus=(int)DocumentStatusEnum.Rejected, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3847", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000004, PurchaserId=1300000000113,  ReturnReason=@"部分损坏", Remark=@"部分出库状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 17:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
            new() { Id=1600000000110, Code=@"THDH058888", DocumentStatus=(int)DocumentStatusEnum.Completed, ReturnDate=DateTime.Parse("2024-02-29 00:00:00.000"), PurchaseOrderNumber=@"JHDH3848", Supplier=@"供应商一", ContactPerson=@"陶怀绿", ContactMethod=@"17118894032", PurchaseDeptId=1300000000002, PurchaserId=1300000000114,  ReturnReason=@"客户要求", Remark=@"已完成状态退货单", TenantId=1300000000001, OrgId=1300000000001, IsDelete=false, DeleteTime=null, CreateTime=DateTime.Parse("2024-02-29 18:00:00.000"), UpdateTime=null, CreateUserId=1300000000001, CreateUserName=@"任杰", UpdateUserId=null, UpdateUserName=null },
        };
    }
}